package cn.samler.account_manager.service;

import cn.samler.account_manager.model.Page;
import cn.samler.account_manager.model.Response;
import cn.samler.account_manager.model.req.AccountAddRequest;
import cn.samler.account_manager.model.req.AccountUpdateRequest;

public interface AccountService {
    Response add(AccountAddRequest request);

    Response delete(Integer id);

    Response update(AccountUpdateRequest request);

    Response list(Page page);

    Response search(Integer page, Integer offset, Integer type, Object keyword);
}
